﻿using System.Collections.Generic;
using TeamCitySharp.DomainEntities;

namespace TeamCityMonitor.Repository.Caches
{
    public class TeamCityDataCacheObject
    {
        public TeamCityDataCacheObject()
        {
            ActiveProjects = new List<Project>();
            Users = new List<User>();
            BuildConfigurations = new List<BuildConfig>();
            ServerInformation = new Server();
            RunningBuilds = new List<Build>();
            LatestBuilds = new List<Build>();
            Builds = new List<Build>();
        }

        public IEnumerable<Project> ActiveProjects;
        public IEnumerable<BuildConfig> BuildConfigurations;
        public IEnumerable<Build> Builds;
        public IEnumerable<Build> LatestBuilds;
        public IEnumerable<User> Users;
        public Server ServerInformation;

        public IEnumerable<Build> RunningBuilds;
    }
}